Realization of serial communication interrupt mode between pc and single chip microcomputer 微機(jī)與單片機(jī)串行通信中斷方式的實(shí)現(xiàn)
The three channels work synchronous by interrupting the low computers with hardware interrupting mode . the correctness is illustrated from the curve of experimentation 系統(tǒng)分為上下級(jí),上位計(jì)算機(jī)對(duì)三個(gè)下位機(jī)同時(shí)硬件中斷,從而同步三通道的加載控制。
Under the characteristics of system , data collected in interrupt mode , processed by timer and filter in interrupt service routine have innovation . in the experiment , the system works stable , achieve the function of strapdown navigation . it will be the basic of practical project 根據(jù)本系統(tǒng)特點(diǎn)在設(shè)計(jì)中,使用外部中斷的方式采集數(shù)據(jù),對(duì)原始數(shù)據(jù)平均濾波方法,以及在中斷處理中以定時(shí)方式進(jìn)行數(shù)據(jù)解算,都具備了一定的創(chuàng)新意義。
Interrupt mode is used for acquiring the processed signal in the measurement software . the signal is processed and converted to flow in the software . finally , the flow is showed on the screen of computer and is stored in computer files 設(shè)計(jì)了對(duì)流量計(jì)輸出信號(hào)進(jìn)行衰減和整形的電路,測量軟件中采用中斷方式對(duì)處理過的信號(hào)進(jìn)行采集并進(jìn)行處理和分析,換算出流量值并在計(jì)算機(jī)屏幕上顯示出來,同時(shí)將采樣所得數(shù)據(jù)和計(jì)算出的流量值存入計(jì)算機(jī)文件中。